Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTMLElementTagNameMap Part 3 - Export custom component types #5141

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

awikkerink
Copy link
Contributor

@awikkerink awikkerink commented Nov 10, 2024

  • Only export the type for typescript/jsdoc

This step is pretty easy to automate. The tricky part is when too many typedefs are added. A better approach would be to export all of the component types, since it's possible to get the class via customElements.get

Can be merged before Parts 1 and 2, since this is just additive. Merging this first would just change the generated mapping.d.ts

Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-5141/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

* Only export the type for typescript/jsdoc
@awikkerink awikkerink marked this pull request as ready for review December 2, 2024 14:10
@awikkerink awikkerink requested a review from a team as a code owner December 2, 2024 14:10
@awikkerink awikkerink changed the title Export custom component types HTMLElementTagNameMap Part 3 - Export custom component types Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant